import React from 'react'
import './index.css'
export default function index(props) {
  return (
    <div className='arrow'>
      <span className='left'
      onClick={
        ()=>{
          props.onChange('left')
        }
      }
      >&lt;</span>
      <span className='right'
       onClick={
        ()=>{
          props.onChange('right')
        }
      }
      >&gt;</span>
    </div>
  )
}
